package com.freeter.modules.cityrecord.dao;

import com.freeter.modules.cityrecord.entity.ProvincesEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import java.util.List;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;

import org.apache.ibatis.annotations.Param;
import com.freeter.modules.cityrecord.entity.vo.ProvincesVO;
import com.freeter.modules.cityrecord.entity.view.ProvincesView;


/**
 * 省份信息表
 *
 * @author xuchen
 * @email 171998110@qq.com
 * @date 2019-04-07 15:30:37
 */
 @SuppressWarnings({"unchecked","rawtypes"})
public interface ProvincesDao extends BaseMapper<ProvincesEntity> {

	List<ProvincesVO> selectListVO(@Param("ew") Wrapper<ProvincesEntity> wrapper);

	ProvincesVO selectVO(@Param("ew") Wrapper<ProvincesEntity> wrapper);


	List<ProvincesView> selectListView(@Param("ew") Wrapper<ProvincesEntity> wrapper);

	List<ProvincesView> selectListView(Pagination page, @Param("ew") Wrapper<ProvincesEntity> wrapper);

	ProvincesView selectView(@Param("ew") Wrapper<ProvincesEntity> wrapper);
}
